﻿using System.Web.Mvc;

namespace OrderDesk.Areas.OrdersStation
{
    public class OrdersStationAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "OrdersStation";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "OrdersStation_default",
                "OrdersStation/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                new[] { "OrderDesk.Areas.OrdersStation.Controllers" }
                
            );
        }
    }
}
